package messaage;

public class GetThreadMsg extends Message {

	protected String forumID;
	protected String threadID;

	public GetThreadMsg(String _username, String _forumID, String _threadID) {
		this.username = _username;
		this.forumID = _forumID;
		this.threadID = _threadID;
	}

	@Override
	public String toString() {
		String msg = "ThreadsMsg\n"  + "Username:" + this.username + "\n"
				 + "forumID:" + this.forumID + "\n"	+ "threadID:" + this.threadID
				+  '\0';
		return msg;
	}

	public int getForumID() {
		return Integer.parseInt(forumID);
	}
	public int getThreadID() {
		return Integer.parseInt(this.threadID);
	}

}
